package com.boe.csb.core.entity.po;

import java.io.Serializable;

public class BoeUserFtp implements Serializable {
    private Long id;

    /**
     * 图片路径包含图片名
     */
    private Long userid;

    private String filepath;

    /**
     * 文件ftp所在目录
     */
    private String filename;

    /**
     * 图片类型
     */
    private String type;

    private Long csbApiId;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public String getFilepath() {
        return filepath;
    }

    public void setFilepath(String filepath) {
        this.filepath = filepath == null ? null : filepath.trim();
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename == null ? null : filename.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public Long getCsbApiId() {
        return csbApiId;
    }

    public void setCsbApiId(Long csbApiId) {
        this.csbApiId = csbApiId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userid=").append(userid);
        sb.append(", filepath=").append(filepath);
        sb.append(", filename=").append(filename);
        sb.append(", type=").append(type);
        sb.append(", csbApiId=").append(csbApiId);
        sb.append("]");
        return sb.toString();
    }
}